package cn.kgc;

//import io.seata.spring.annotation.datasource.EnableAutoDataSourceProxy;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.core.env.ConfigurableEnvironment;
import org.springframework.core.env.Environment;

/**
 * <p></p>
 *
 * @author 李孟鸠
 * @Date: 2023年01月02日9:40
 */
@SpringBootApplication
@EnableFeignClients
@EnableDiscoveryClient
//@EnableAutoDataSourceProxy
@EnableRabbit
public class OmsApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(OmsApplication.class, args);
        Environment environment = run.getEnvironment();

    }
}
